home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 96 / PC Zone #096.7z / Dppcz1200.mdf / Demos / Gunlok / data1.cab / Program_Executable_Files / scripts / archore.gsh < prev    next >
Text File  |  2000-09-09  |  2KB  |  95 lines

  1. // defines ARCHORE robot
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. #ifndef INCLUDED_ARCHORE_GSH
  7. #define INCLUDED_ARCHORE_GSH
  8.  
  9. ////////////////////////////////////////////////////////////////////////////////////
  10.  
  11. #include "grenade_launcher.gsh"
  12. #include "defaults.gsh"
  13. #include "archorefrag.gsh"
  14.  
  15. hierarchy Hcy_archore
  16. {
  17.     file "units\LOWarchore.RIF"
  18.     name "LOWarchore"
  19.     hotspot "dum flash"
  20. }
  21.  
  22. hierarchy Hcy_archore_shadow
  23. {
  24.     file "units\archore_shadow.RIF"
  25.     name "archore_shadow"
  26. }
  27.  
  28. character Chr_archore : Chr_DefaultBaddie
  29. {
  30.     turning speed   0.75    // this is in revolutions per second
  31.     walking speed   1    // this is in animation cycles per second
  32.     weapon          plasmatrix
  33.     strength        230    // initial strength points
  34.     aim             2    // how many degrees off target he can be at most
  35.     sight angle    25    // in degrees
  36.     sight range     20    // in metres
  37.     hearing range    17    // in metres
  38.     aggression    1    // from 0 to 1
  39.     alarm delay    4
  40.     radius        1    // used by the movement model
  41.     shadow hierarchy    Hcy_archore_shadow
  42.     blob shadow        spider
  43. }
  44.  
  45. character Chr_archore_lite : Chr_DefaultBaddie
  46. {
  47.     turning speed   0.75    // this is in revolutions per second
  48.     walking speed   1    // this is in animation cycles per second
  49.     weapon          plasmagnum
  50.     strength        107    // initial strength points
  51.     aim             2    // how many degrees off target he can be at most
  52.     sight angle    25    // in degrees
  53.     sight range     20    // in metres
  54.     hearing range    10    // in metres
  55.     aggression    0.75    // from 0 to 1
  56.     alarm delay    4
  57.     radius        1    // used by the movement model
  58.     shadow hierarchy    Hcy_archore_shadow
  59.     blob shadow        spider
  60. }
  61.  
  62. role Rol_archore : Rol_DefaultRobot
  63. {
  64.     shape        Hcy_archore
  65.  
  66.     character    Chr_archore
  67.  
  68.     identifier    "archore"
  69.  
  70.     armour    7
  71.  
  72.     ai            bot
  73.  
  74.     destructibility        Frg_archore
  75. }
  76.     
  77. role Rol_archore_lite : Rol_DefaultRobot
  78. {
  79.     shape        Hcy_archore
  80.  
  81.     character    Chr_archore
  82.  
  83.     identifier    "archore_lite"
  84.  
  85.     armour    4
  86.  
  87.     ai            bot
  88.  
  89.     destructibility        Frg_archore
  90. }                
  91. ////////////////////////////////////////////////////////////////////////////////////
  92.  
  93. // end wrapper - for preventing multiple or recursive inclusions
  94. #endif // !INCLUDED_ARCHORE_GSH
  95.